package org.anderground.internal.graphics.factories;

import org.anderground.core.graphics.factories.PathFactory;
import org.anderground.internal.graphics.abstaractions.AbstractPath;
import org.anderground.internal.graphics.impl.AndroidPath;

import android.graphics.Path;

public class PathFactoryImpl extends PathFactory {

	@Override
	public AbstractPath create() {
		return new AndroidPath(new Path());
	}

	@Override
	public AbstractPath create(org.anderground.core.graphics.Path path) {
		return new AndroidPath(new Path(AndroidPath.cast(path)));
	}

}
